//
//  FTHomePageHeaderView.h
//  项目2
//
//  Created by rimi on 16/8/20.
//  Copyright © 2016年 wzc. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol FTHomePageHeaderViewDelegate <NSObject>

-(void)btnTaped:(UIButton *)btn;

@end
@interface FTHomePageHeaderView : UITableViewHeaderFooterView
@property (weak, nonatomic) IBOutlet UIButton *luckBagBtn;
@property (weak, nonatomic) IBOutlet UIButton *myWishBtn;
@property (weak, nonatomic) IBOutlet UIButton *preheatWishBtn;
@property (weak, nonatomic) IBOutlet UIButton *makeWithBtn;
@property (weak, nonatomic) IBOutlet UIButton *checkWishBtn;
@property (weak, nonatomic) IBOutlet UIButton *todayBtn;
@property (weak, nonatomic) IBOutlet UILabel *homeLuckyLabel;
@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;
@property (weak, nonatomic) IBOutlet UIProgressView *totdayProgress;
@property (weak, nonatomic) IBOutlet UILabel *todayGetLabel;
@property (weak, nonatomic) IBOutlet UILabel *todayTotalLabel;
@property (weak, nonatomic) IBOutlet UILabel *allLabel;
@property (weak, nonatomic) IBOutlet UILabel *allUnit;
@property (weak, nonatomic) UIViewController *ownerVC;
@property (strong, nonatomic) NSTimer *timer;
@property (strong, nonatomic) UIPageControl *pageControl;
@property (strong, nonatomic) NSArray *images;
@property (weak, nonatomic) IBOutlet UIView *view1;
@property (weak, nonatomic) IBOutlet UIView *view2;
@property (nonatomic, assign) CGFloat imgW;
@property (nonatomic, assign) CGFloat imgH;
@property (nonatomic, strong) NSArray *imageViews;
@property (nonatomic, assign) NSInteger imageCount;
@property (strong, nonatomic) id<FTHomePageHeaderViewDelegate> delegate;
+(instancetype)loadHeaderView;
@end
